<template>
	<view>
		<!-- <u-subsection :list="list" :current="current"></u-subsection> -->
		<u-list>
			<u-list-item v-for="(member, index) in teamMembers" :key="index" title="团队A">
				<u-cell :title="member.name" label="购买总额: ¥1000, 结算: ¥950">
					<u-avatar slot="icon" shape="square" size="35" src="item.url" customStyle="margin: -3px 5px -3px 0"></u-avatar></u-cell>
			</u-list-item>
			<u-list-item title="团队B" is-link></u-list-item>
		</u-list>
		
		<u-button type="primary" @click="acceptAllOrders">一键接受所有订单</u-button>
	</view>
</template>

<script>
export default {
	data() {
		return {
			keyword: '',
			list: ['未接受', '已接受'],
			current: 0,
			formData: {
				title: ''
			},
			options1: [
				{
					text: '配置比例',
					style: {
						backgroundColor: '#3c9cff'
					}
				},
				{
					text: '删除',
					style: {
						backgroundColor: '#f56c6c'
					}
				}
			],
			teamMembers: [{ id: 1, name: '成员A' }, { id: 2, name: '成员B' }]
		};
	},
	methods: {
		clickAtion(e) {
			console.log(e);
		},
		navigateToSetting() {
			// 导航到团队设置页面
		},
		navigateToMemberDetail(id) {
			// 导航到成员详情页面
		}
	}
};
</script>

<style></style>
